﻿using ahdelivery.center;
using ahdelivery.util;
using Center.lib.utils.json;
using Center.lib.utils.log;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using PrinterApplication.user;

namespace PrinterApplication
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo("log4net.xml"));
            LogHelper.WriteLog("启动中...");
            init();
        }
        static void init()
        {
            Application.Run(new LoginFrm());
        }
    }
}
